package cn.jslancer.webx.response;

import java.util.Map;

/**
 * @author zhuangchao
 * @date 2019/12/27 11:13
 */
public interface ServerResponse {

    Map<String, String> getHeaders();

    void setHeaders(Map<String, String> headers);

    void setContentType(String contentType);

    void setContent(String content);

    String getContent();

    int getContentLength();

    void write();

}
